package com.zhouchao.code.service;

import com.zhouchao.code.common.Result;

/**
 * @Author: zhouchao
 * @Date: 2021/10/16 20:19
 * @Description:
 */
public interface ICodeService {
    Result<Boolean> createCode(String email);

    Result<Integer> validateCode(String email, String code);
}
